const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
  transpileDependencies: true,
  lintOnSave: false, // 关掉严格模式
  devServer: {
    // host: '127.0.0.1',
    // port: 8080,
    // open: true,
    client: {
      webSocketURL: 'ws://127.0.0.1:8080/ws',
    },
    headers: {
      'Access-Control-Allow-Origin': '*',
    }
  }
})
